export interface UserLogin {
  username: string,
  password: string
}

export interface ResponsesData {
  msg: string,
  code: number,
  token?: string,
  content?: Array<ListB>,
  rows?:Array<ListC>
  user?:Array<User>
}

export interface ListA {
  "applyId": null,
  "status"?: null | number
}

export interface ListD {
  "title": string,
  "action": ()=>void
}

export interface ListB {
  "createBy": number,
  "createTime": string,
  "updateBy": null,
  "updateTime": null,
  "id": number,
  "auditUserId": number,
  "remark":string,
  "applyId": string,
  "applyTime": null,
  "userId": null,
  "status": number,
}

export  interface ListC{
  "createBy": null,
  "createTime": string,
  "updateBy": null,
  "updateTime": null,
  "searchValue": null,
  "remark": null,
  "params": {},
  "userId": number,
  "deptId": number,
  "userName": string,
  "nickName": null,
  "email": string,
  "phonenumber": string,
  "sex": string,
  "avatar": string,
  "salt": string,
  "status": string,
  "delFlag": string,
  "loginIp": string,
  "loginDate": string,
  "dept": {
    "createBy": null,
    "createTime": null,
    "updateBy": null,
    "updateTime": null,
    "searchValue": null,
    "remark": null,
    "params": {},
    "deptId": number,
    "parentId": null,
    "ancestors": null,
    "deptName": string,
    "orderNum": null,
    "leader": string,
    "phone": null,
    "email": null,
    "status": null,
    "delFlag": null,
    "parentName": null,
    "children": []
  },
  "roles": [],
  "roleIds": null,
  "postIds": null,
  "roleId": null,
  "admin": boolean
}

export  interface ListE{
  "createBy": number,
  "createTime": string,
  "updateBy": number,
  "updateTime": string,
  "id": 118,
  "supplierNo": string,
  "supplierName": string,
  "bankName": null,
  "bankAccount": string,
  "payableAmount": number,
  "address": null,
  "mobileNo": null,
  "telNo": null,
  "contact": null,
  "level": null,
  "email": null,
  "remark": null,
  "delFlag": number
}

export  interface ListF{
  "createBy": number,
  "createTime": string,
  "updateBy": number,
  "updateTime": string,
  "id": number,
  "itemNo": string,
  "itemName": string,
  "itemType": string,
  "itemTypeName": string,
  "unit": string,
  "rackId": null,
  "areaId": number,
  "warehouseName": string,
  "areaName": string,
  "warehouseId": number,
  "quantity": number,
  "expiryDate": string,
  "specification": null,
  "formId": number,
  "unitQuantity": number,
  "remark": string,
  "place": null,
  "delFlag": number
}

export  interface ListG{
  "applyId": "",
  "itemId": number,
  "planQuantity": number,
  "delFlag": number
}

export interface ListH{
  "id"?: null,
  "applyId"?: string,
  "userId"?: null,
  "mobile"?: null,
  "auditTime"?: null,
  "auditUserId": number,
  "supplierId": number,
  "status": number,
  "remark"?: string,
  "createTime"?: null,
  "updateBy"?: null,
  "updateTime"?: null,
  "details":Array<ListG>
}

export interface User{
  "createBy": null,
  "createTime": string,
  "updateBy": null,
  "updateTime": null,
  "searchValue": null,
  "remark": null,
  "params": {},
  "userId": number,
  "deptId": number,
  "userName": string,
  "nickName": null,
  "email": string,
  "phonenumber": string,
  "sex": string,
  "avatar": string,
  "salt": null,
  "status": string,
  "delFlag": string,
  "loginIp": string,
  "loginDate": string,
  "dept": {
    "createBy": null,
    "createTime": null,
    "updateBy": null,
    "updateTime": null,
    "searchValue": null,
    "remark": null,
    "params": {},
    "deptId": number,
    "parentId": number,
    "ancestors": null,
    "deptName": string,
    "orderNum": string,
    "leader": string,
    "phone": null,
    "email": null,
    "status": string,
    "delFlag": null,
    "parentName": null,
    "children": []
  },
  "roles": [
    {
      "createBy": null,
      "createTime": null,
      "updateBy": null,
      "updateTime": null,
      "searchValue": null,
      "remark": null,
      "params": {},
      "roleId": number,
      "roleName": string,
      "roleKey": string,
      "roleSort": string,
      "dataScope": string,
      "menuCheckStrictly": false,
      "deptCheckStrictly": false,
      "status": string,
      "delFlag": null,
      "flag": false,
      "menuIds": null,
      "deptIds": null,
      "admin": true
    }
  ],
  "roleIds": null,
  "postIds": null,
  "roleId": null,
  "admin": true
}

export interface IdStatus{
  "id": number,
  "status": number
}
